package top.huntwolf.admin.pojo.book;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import top.huntwolf.admin.common.enums.BookConditionEnum;
import top.huntwolf.admin.pojo.BookReserve;

import java.util.Date;
import java.util.List;

/**
 * description
 * author:黄钊涛
 * date: 2021/7/16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
public class NewBook extends Book{

    private Integer subjectId;
    private Integer subjectParentId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String id;

    private BookConditionEnum conditionEnum;

    private String discount;

    private String realPrice;

    private String location;

    private String status;

    private String storage;


}
